package string;

public class Test3 {
    public static void main(String[] args) {
        String regex = "(wcnmd|sb)";
        String message = "wcnmd,你是sb";
        message = message.replaceAll(regex,"***");
        System.out.println(message);
    }
}
